{template 'total/header'}

<style>
    .hp-visited a:visited{color: #444;}
    .input-append button{font-size:12px;}
</style>
<div style="clear:both">
    <h5>
        <span class="add-on"><i class="icon-calendar"></i> 月活跃构成 </span>
    </h5>
</div>

<table class="table table-striped table-bordered table-hover">
    <tr><td>当前月份：{eval echo common::request('ym')}</td></tr>
</table>
<table class="table table-striped table-bordered table-hover">
    <thead>
        <tr>
            <th><center>注册月份</center></th>
            <th><center>当月留存</center></th>
            <th><center>当月新增</center></th>
            <th><center>留存率</center></th>
            <th><center>当月留存占比</center></th>
        </tr>
    </thead>
    <tbody>
        {loop $totalMonths $v}
        <tr>
            <td><center>{$v['ym']}</center></td>
            <td><center>{$v['stay']}</center></td>
            <td><center>{$v['new']}</center></td>
            <td><center>{$v['stay_rate']}%</center></td>
            <td><center>{$v['stay_rate_month']}</center></td>
        </tr>
        {/loop}
    </tbody>
</table>

{template 'total/footer'}